/*
 ============================================================================
 Name        : mpipeople.c
 Author      : Onalenna Junior Makhura
 Version     :
 Copyright   : Your copyright notice
 Description : Hello World in C, Ansi-style
 ============================================================================
 */

#include <stdio.h>
#include <stdlib.h>
#include <mpi.h>
#include "person.h"

int main(int argc, char **argv) {
	int myid, numprocs, i;
	char processor_name[MPI_MAX_PROCESSOR_NAME];

	MPI_Init(&argc,&argv);
	MPI_Comm_size(MPI_COMM_WORLD,&numprocs);
	MPI_Comm_rank(MPI_COMM_WORLD,&myid);
	person_t *person = MPI_Alloc_mem(sizeof(person_t), MPI_INFO_NULL, person);
	puts("!!!Hello World!!!"); /* prints !!!Hello World!!! */

	MPI_Finalize();
	return EXIT_SUCCESS;
}
